package com.mujin.keji.collectionsystem.module.outboundtask.repository;

import android.arch.lifecycle.LiveData;

import com.mujin.keji.collectionsystem.base.BaseDto;
import com.mujin.keji.collectionsystem.base.CommonRepository;
import com.mujin.keji.collectionsystem.http.Api;
import com.mujin.keji.collectionsystem.module.outboundtask.vo.BeginVisitVo;

/**
 * 判断是否开始外访
 *
 * @author weishixiong
 * @Time 2018-07-3
 */

public class BeginVisitRepository extends CommonRepository<String> implements IBeginVisitRepository {
    @Override
    public LiveData<BaseDto<String>> beginVisit(BeginVisitVo vo) {
        return request(Api.beginVisit(vo)).send().get();
    }
}
